//
// 此文件是由 JavaTM Architecture for XML Binding (JAXB) 引用实现 v2.2.8-b130911.1802 生成的
// 请访问 <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
// 在重新编译源模式时, 对此文件的所有修改都将丢失。
// 生成时间: 2016.04.07 时间 01:11:06 PM CST 
//


package com.kcht.itsed.mws.alemodel;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import java.util.ArrayList;
import java.util.List;


/**
 * <p>ECReaderStat complex type的 Java 类。
 * 
 * <p>以下模式片段指定包含在此类中的预期内容。
 * 
 * <pre>
 * &lt;complexType name="ECReaderStat">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="readerName" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="sightings" minOccurs="0">
 *           &lt;complexType>
 *             &lt;complexContent>
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 &lt;sequence>
 *                   &lt;element name="sighting" type="{urn:epcglobal:ale:xsd:1}ECSightingStat" maxOccurs="unbounded" minOccurs="0"/>
 *                 &lt;/sequence>
 *               &lt;/restriction>
 *             &lt;/complexContent>
 *           &lt;/complexType>
 *         &lt;/element>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ECReaderStat", propOrder = {
    "readerName",
    "sightings"
})
public class ECReaderStat {

    @XmlElement(required = true)
    protected String readerName;
    protected ECReaderStat.Sightings sightings;

    /**
     * 获取readerName属性的值。
     *
     * @return
     *     possible object is
     *     {@link String }
     *
     */
    public String getReaderName() {
        return readerName;
    }

    /**
     * 设置readerName属性的值。
     *
     * @param value
     *     allowed object is
     *     {@link String }
     *
     */
    public void setReaderName(String value) {
        this.readerName = value;
    }

    /**
     * 获取sightings属性的值。
     *
     * @return
     *     possible object is
     *     {@link ECReaderStat.Sightings }
     *
     */
    public ECReaderStat.Sightings getSightings() {
        return sightings;
    }

    /**
     * 设置sightings属性的值。
     *
     * @param value
     *     allowed object is
     *     {@link ECReaderStat.Sightings }
     *
     */
    public void setSightings(ECReaderStat.Sightings value) {
        this.sightings = value;
    }


    /**
     * <p>anonymous complex type的 Java 类。
     * 
     * <p>以下模式片段指定包含在此类中的预期内容。
     * 
     * <pre>
     * &lt;complexType>
     *   &lt;complexContent>
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       &lt;sequence>
     *         &lt;element name="sighting" type="{urn:epcglobal:ale:xsd:1}ECSightingStat" maxOccurs="unbounded" minOccurs="0"/>
     *       &lt;/sequence>
     *     &lt;/restriction>
     *   &lt;/complexContent>
     * &lt;/complexType>
     * </pre>
     * 
     * 
     */
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "", propOrder = {
        "sighting"
    })
    public static class Sightings {

        protected List<ECSightingStat> sighting;

        /**
         * Gets the value of the sighting property.
         * 
         * <p>
         * This accessor method returns a reference to the live list,
         * not a snapshot. Therefore any modification you make to the
         * returned list will be present inside the JAXB object.
         * This is why there is not a <CODE>set</CODE> method for the sighting property.
         * 
         * <p>
         * For example, to add a new item, do as follows:
         * <pre>
         *    getSighting().add(newItem);
         * </pre>
         * 
         * 
         * <p>
         * Objects of the following type(s) are allowed in the list
         * {@link ECSightingStat }
         * 
         * 
         */
        public List<ECSightingStat> getSighting() {
            if (sighting == null) {
                sighting = new ArrayList<ECSightingStat>();
            }
            return this.sighting;
        }

    }

}
